package com.planetarium.objects;

import java.awt.Color;
import java.awt.Graphics;

import com.planetarium.basics.Coordinates;
import com.planetarium.basics.RotationValues;
import com.planetarium.basics.Texture;

public class BasicObject {
	
	public double mass = 0.0; 
	public double radius = 0.0;
	public RotationValues rotation = new RotationValues();
	public Coordinates position = new Coordinates();
	public Coordinates velocity = new Coordinates();
	public Texture texture = new Texture();
	
    public void render(Graphics g, int x, int y, int r) {
        Color defaultColor = g.getColor();
        g.setColor(new Color(255, 255, 255));
        g.fillOval(x - r, y - r, 2 * r, 2 * r);
        g.setColor(defaultColor);
    }
	
}
